forcedotcom / forcedotcom/devops-center-roadmap

Cannot Add Some Component types due to malformed query

Open
#119 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
27
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When we try and add custom fields manually we are getting the following error in our logs

`NAMED_CREDENTIAL_REQUEST NamedCallout[Named Credential Id=**********, Named Credential Name=**********, Endpoint=https://**********.sandbox.my.salesforce.com//services/data/v56.0/tooling/query/?q=SELECT+FullName%2C+LastModifiedBy.Name%2C+LastModifiedDate+FROM+CustomField, Method=GET, External Credential Type=EXTERNAL, HTTP Header Authorization=Method: Bearer - Credential: **********, Content-Type=null, Request Size bytes=-1, Retry on 401=True]`

And we are receiving the following back:

`CALLOUT_RESPONSE [44]|System.HttpResponse[Status=Bad Request, StatusCode=400]`

Please see a screenshot of the issue here!

![Screenshot 2023-10-20 at 13 36 32](https://github.com/forcedotcom/devops-center-roadmap/assets/60219446/58bcff67-9071-4850-85bb-03c7ac3f7600)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.