502 in novu
We got invalid json from novu. Invalid JSON response from Novu. Response {'status_code': 502, 'headers': Headers({'server': 'awselb/2.0', 'date': 'Mon, 10 Mar 2025 13:13:32 GMT', 'content-type': 'text/html', 'content-length': '122', 'connection': 'keep-alive'}), '_request': https://api.novu.co/v1/events/trigger')>, 'next_request': None, 'extensions': {'http_version': b'HTTP/1.1', 'reason_phrase': b'Bad Gateway', 'network_stream': <httpcore._backends.anyio.AnyIOStream object at 0x7b4cf90ec380>}, 'history': [], 'is_closed': True, 'is_stream_consumed': True, 'default_encoding': 'utf-8', 'stream': <httpx._client.BoundAsyncStream object at 0x7b4cff984a40>, '_num_bytes_downloaded': 122, '_decoder': <httpx._decoders.IdentityDecoder object at 0x7b4d01df1370>, '_elapsed': datetime.timedelta(seconds=3, microseconds=828000), '_content': b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</h1></center>\r\n</body>\r\n</html>\r\n'}, Details: Expecting value: line 1 column 1 (char 0)
7 Replies
@fariz
Can you share the steps to reproduce this?
What api request caused this error?
Hi @Hari Prasad can you add more info on the same
Hi Pawan
We were using novu for long time it's similar to issue raised by few days earlier while sending to novu facing it. Hari can add more insight
Hi @Pawan Jain , we received the error for https://api.novu.co/v1/events/trigger end point at Mon, 10 Mar 2025 13:13:32 GMT
@Hari Prasad
Thanks, Are you still getting 5xx errors with above endpoint?
@Hari Prasad ping
Hi @Pawan Jain , sorry for the delay. It happened that one time. its working as expected now.
@Hari Prasad, you just advanced to level 1!
Thanks for the update hari