Start with the simple things.
Try a known quality magazine (PMAG) with known quality ammo (Winchester, Lake City, etc.).
Check to make sure the gas key is tight and properly staked.
Use a liberal amount of grease on the bearing surfaces of the bolt carrier and the bolt, when in doubt add more grease. I use red lithium wheel bearing grease from any auto parts store.
Next, make sure the buffer spring is within specs and that the buffer tube hasn’t been bent.
Make sure you have a H or H2 buffer.
Make sure the gas rings are in good shape.
The extractor should have a spring, a insert and a O-ring.
Checking the above items usually fixes 90% of the malfunctioning SBR’s in my experience.
After checking and repairing all of the above, do the following checks and let us know the results.
Put 1 round in a known quality magazine. Fire the round. Does the bolt lock to the rear on empty?
Put 2 rounds in the magazine. Fire the first round. Does it properly feed the second round? Fire the 2nd round, does it lock the bolt back?
Put 5 rounds in the magazine. Fire one round, does it feed properly?
Put 20 in the mag, fire one, does it feed. Fire five rounds, did they all feed? Finish the magazine off 2 shots per second, did they all feed and the bolt lock back on empty?
30 rounds in the mag and repeat the previous. How’d it work?