on-internet
← Community

Error Decoding JSON Access Token for Daraja API When Hosting Web Service on Render

Stack Overflow ·

I am trying to deploy my API on render as a webservice... I have the same code in my local machine as in my Git repository, from which I building the service to deploy. On the deployed site hosted on render, when I send a post request to daraja API (an mpesa mobile payment natively from kenya), I get an internal server error with this as the message: JSONDecodeError at / Expecting value: line 1 column 1 (char 0) Request Method: POST Request URL: http://rycha-pay.onrender.com/ Django Version: 5.0.6 Exception Type: JSONDecodeError Exception Value: Expecting value: line 1 column 1 (char 0) Except

Comments

Sign in or sign up to comment and upvote.

No comments yet.