Hey all,
I’ve been stuck for around 4 hours on this, ive seen similar things in the forum but still cant work it
I’m trying to use apiconnector to access my bubble api
basically this is the line im using, and I have tried quite a few more
https://plumbingpos.bubbleapps.io/version-test/api/1.1/obj/materialsrecords?constraints=[{“key”:“location”,“constraint_type”:“contains text”,%20"value":“available in truck”}]%26sort_field=ascending
ive also tried the same with all url text ie lots of %this and %thats
I also tried modifying the example on the bubble manual
I keep getting this
{
“statusCode”: 400,
“body”: {
“status”: “INVALID_DATA”,
“message”: “Issue with data for endpoint materialsrecords: [{“key”:“location”,“constraint_type”:“contains text”, “value”:“available in truck”}]&sort_field=ascending cannot be parsed as a JSON”
}
}
or when I substitute the constraints= for contraints%(number representing =)
I get a return of all the results instead of just the ones im looking for
It’s totally doing my head in.