Api Invalid Request error
I am getting “Invalid Request – Error Code 4076″
What i want is an XML feed of Coupon/Deal Merchants. For this i have added my IP in given place but not getting the result.
Please help me. Thanks
I am getting “Invalid Request – Error Code 4076″
What i want is an XML feed of Coupon/Deal Merchants. For this i have added my IP in given place but not getting the result.
Please help me. Thanks
You must be logged in to post a comment.
This error code generally means the authentication headers were missing from the request. The best way to resolve this is to look back at the affiliate API protocols and grab the authentication header provided on that page and add it to the request.
Was this answer helpful?
LikeDislikeThis solution has been deemed correct by the post author
Error 4076 is due to not including the HTTP authentication headers in your request. I recommend checking out the affiliate API documentation that talks about coding this authentication in the first section under https://shareasale.com/a-apimanager.cfm.
In the PHP sample code, the authentication headers creation/setup happens around lines 10-14.
Was this answer helpful?
LikeDislike