Questions tagged [jsondecodeerror]

11 questions
0
votes
2 answers

Weaviate - push records in batch errors with JSONDecodeError

I’m trying to add records in a batch, but after I add my objects to the batch, I always get a JSONDecodeError when I assume the batch is being sent to my Weaviate class. client.batch.configure(batch_size=100, dynamic=False, timeout_retries=3, …
lrthistlethwaite
  • 494
  • 2
  • 6
  • 23
0
votes
0 answers

File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None

I am getting error running below in jinja. raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) "fc_key": {{ '"'+metadata['config_group']|string+'"' if…
myrz
  • 7
  • 2
0
votes
1 answer

Receive response from DB Laragon

I recently returned to dart programs with the flutter framework and I am not able to resolve a problem from the response I receive from the laragon database. I'm having a problem with response.body This is my code: import 'dart:convert'; import…
0
votes
1 answer

JWT::DecodeError (OpenSSL 3.0 does not support nil or empty hmac_secret):

I am still new to building projects using rails/react I am using devise to authenticate the user however, when I login I am getting an internal server error that says JWT::DecodeError (OpenSSL 3.0 does not support nil or empty hmac_secret): as shown…
CoolGuy
  • 99
  • 7
0
votes
0 answers

Contact form {"error":true,"message":"404 not found!"}

I got an error after sending contact form and the message doesn't come in my admin panel. Any ideas? {"error":true,"message":"404 not found!"} enter image description here PHP version: 7.3.33 PrestaShop version: 1.7.8.8 Request URL:…
0
votes
0 answers

JSONDecodeError at /log-in/ Expecting value: line 1 column 1 (char 0)

i am making a website where you can link your ROBLOX account to the website with only the username but i have had an error which i dont know how to fix it. If you know how to fix this error please tell me since this has been very…
0
votes
0 answers

Python JSON: raise JSONDecodeError from parse_constant

I am currently using the json module to load some JSON content and I need to exclude NaN values. The standard way to do this seems to be to implement a parse_constant method and then pass this method to json.loads. Example: def parse_constant(c:…
0
votes
0 answers

JSONDecodeError - request.body returns empty string Django

I am trying to access some JSON data from my views.py page but it seems i'm sending empty strings? My JS code document.querySelector('#compose-form').onsubmit = () => { const recipients = document.querySelector('#compose-recipients').value …
jeddah
  • 49
  • 5
0
votes
0 answers

pinescript newbie: problem to implement RR as TP! can you check my script? :)

var float loLows = na is_new_position = (strategy.position_size[1] != strategy.position_size) // This will only be true on the bar of the entry loLows := is_new_position // Only update the value if it is a new position. Keep the old value…
jyjy
  • 11
0
votes
1 answer

TypeError: map[$_get] is not a function , Dart

I am writing a program that uses HTTP to get a list of themes from a server, and when transforming the data from JSON I am getting this error. TypeError: map[$_get] is not a function packages/outlook/src/provider/response.dart 28:19 …
Rodrick Vy
  • 36
  • 5
-3
votes
1 answer

JSONDecodeError when trying to write to JSON file

I have a json file where each entry has a corresponding list. This is what it looks like: { "/home/onur/PycharmProjects/file-tagging/data/world_building_budget.txt": [], …
Onur-Andros Ozbek
  • 2,998
  • 2
  • 29
  • 78