LP DAAC - dgolon wrote:
> Hello @vmyrg apologies for missing this question. We are
> looking into it now. Thanks -- Danielle
Hi Danielle. This error was caused by me using a wrong Json format. It was my mistake. Thanks.
Search found 2 matches
- Tue Jun 03, 2025 3:33 pm America/New_York
- Forum: Home
- Question: JSONDecodeError when calling request.post()
- Replies: 3
- Fri May 16, 2025 4:37 pm America/New_York
- Forum: Home
- Question: JSONDecodeError when calling request.post()
- Replies: 3
JSONDecodeError when calling request.post()
Hello, I am making a request via python to login to the AρρEEARS API. When calling the request.post() function as shown here : token_response = r.post('{}login'.format(api), auth=(user, password)).json() I get the following json decoder error : JSONDecodeError Traceback (most recent call last) File ...