• Adam D Dixon
  • NEWBIE
  • 10 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

While making an authenticated GET call to the REST Query API, I am receiving the following:

[
  {
    "message": "\nSELECT+name+from+Account\n     ^\nERROR at Row:1:Column:6\nunexpected token: '+'",
    "errorCode": "MALFORMED_QUERY"
  }
]

https://{customerName}.my.salesforce.com/services/data/v44.0/query/?q=SELECT+name+from+Account

It's worth noting that the above url is sourced directly from the REST API Developer Guide and that when I execute an authenticated GET request against the REST Describe API endpoint, the description comes back correctly (https://{customerName}.my.salesforce.com/services/data/v33.0/sobjects/Account/describe)

It seems as if this is the only customer that we are experiencing this with.

I'd love any assistance or direction to seek more information.

Thanks in advance!

While making an authenticated GET call to the REST Query API, I am receiving the following:

[
  {
    "message": "\nSELECT+name+from+Account\n     ^\nERROR at Row:1:Column:6\nunexpected token: '+'",
    "errorCode": "MALFORMED_QUERY"
  }
]

https://{customerName}.my.salesforce.com/services/data/v44.0/query/?q=SELECT+name+from+Account

It's worth noting that the above url is sourced directly from the REST API Developer Guide and that when I execute an authenticated GET request against the REST Describe API endpoint, the description comes back correctly (https://{customerName}.my.salesforce.com/services/data/v33.0/sobjects/Account/describe)

It seems as if this is the only customer that we are experiencing this with.

I'd love any assistance or direction to seek more information.

Thanks in advance!