Getting response code 400 in first module

though got the email which says that build successful.

Also the image is not getting posted in showcase channel.

check published parameter in your json format make it true instead of false

Tried. Still getting response as 400.

could you give more details on the error you’re receiving.

Actually I am not getting an error. But the post is not getting published in showcase channel and the response code which I am getting is 400.

have you printed response.json()

do so along with status_code to check error if any

Yes Printed.

It gives following output:

<bound method Response.json of <Response [400]>>

response.json() the brackets are necessary
print and tell me what you get

Yes that worked. Got 803 error and fixed it.

Thanks so much.

You’re welcome. All the best

1 Like