Status code 200 but build failure assertion error

tests/test_views.py:119: AssertionError
----------------------------- Captured stdout call -----------------------------
Assessment completed FACEBOOK CLI module! @ 2020-06-24 10:11:01.929260
400 {‘error’: {‘message’: ‘Application does not have permission for this action’, ‘type’: ‘OAuthException’, ‘code’: 10, ‘error_subcode’: 2069007, ‘is_transient’: False, ‘error_user_title’: ‘Permissions Deny to generate story’, ‘error_user_msg’: ‘The story cannot be generated because the permissions deny.’, ‘fbtrace_id’: ‘Avz1bUtn7VSMPI3Wr80q0QM’}}

We do get an assertion error sometimes when we might have already got a response from the app and trying again at the same time.

Check if you’ve done this:-

You are using the access token and page ID while making the API call.

The URL you are using to make an API call is correct.

There might be an issue with the image URL that you are supplying. Please ensure that the image URL is correct (jpg image recommended) and you are not using the base64 image URL.

Do see if you have not added published in the data parameter of your API call. Make published = true.

Closing this topic as your issue has been resolved by the community. If not Kindly un-mark the accepted solution to re-open the topic or feel free to create a new topic and post a link to this topic as a reference.