Another Scope and URL mismatch

Hi there.

We’re receiving the ‘Scope and URL mismatch’ response, but only when attempting an update on a Lead.

We can otherwise, create, get, and delete leads without issue. All operations for deals, organizations, persons are all fine - only updating Lead is failing.

I also tried creating an entirely new app, authorising, accepting all scopes etc but same response.

Any ideas? At a loss…

Hi @nicklloyd

Which endpoint do you use to update a Lead?

We’re hitting /leads/id.

/leads/{id}:
    put:
      tags:
        - 'Leads'
      operationId: 'leadsUpdate'
      summary: 'Update lead'
      description: 'Update a lead'
      parameters:
        - $ref: '#/components/parameters/id'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/leadsUpdate'

Oh my: have just seen Scopes and permission explanations indicates PATCH. That maybe it?

Nope: tried and same issue…

Just to double-check, PATCH did not work for you Pipedrive API v1 Reference?

Correct, but I’ll try again to triple check :wink:

Woot - that did work! (Hadn’t restarted service before attempting first time :man_facepalming: )

2 Likes