Update_profile_banner Error 422 code 211


I been having some issues with Update_profile_banner. I keep getting Error 402 {“errors”:[{“code”:211,“message”:“Image error: banner param not provided.”}]}. I’m assuming that means that twitter couldn’t find the banner data from the request? Is this correct? I have it set in the contentDisposition as name=“banner” with the binary data. I am able to update the profile image with just about the same request the only difference is the name switches from banner to image. I also made an image that is exactly 1252x626 and is less than 5MB.



I figured it out my contentDisposition had some invalid characters in it.