The symptoms you are experiencing could be due to pancreatitis, an inflammation of pancreas.
Actually, pancreatitis, is a major risk or complication following the ercp.
This condition, can be self limited and mild, but may also, require hospitalization.
These procedure can lead to trauma to the bile ducts, too, resulting in bile ducts blockage.
Ask your doctor for testing your pancreatic function!
Best wishes!
Marija