New Shopify Certification now available: Liquid Storefronts for Theme Developers

Access Denied Error When Creating Gift Cards Using Shopify API

Shopify Partner
3 0 1

Hello everyone,

I am trying to create a gift card using the Shopify API, but I keep receiving an "access denied" error even though my app already has the necessary permissions. I'm not sure what the issue could be, so I'm hoping someone here can help.

Here's what I've tried so far:

  1. I've double-checked that I'm using the correct API endpoint for creating gift cards (/admin/api/2022-10/gift_cards.json).
  2. I've double-checked my API credentials to make sure they are correct.
  3. I've waited a few minutes between requests to make sure I'm not exceeding Shopify's API throttling limits.
  4. I've checked the documentation for the API endpoint to make sure I have all the necessary permissions.

Despite trying all of these solutions, I'm still receiving the "access denied" error. Does anyone have any other suggestions for how I can resolve this issue?


reasonPhrase: "Forbidden"
Client error: `POST https://{{hostname}}/admin/api/2022-10/gift_cards.json` resulted in a `403 Forbidden` response:\n {"errors":"Access denied"}\n



Thank you in advance for your help.


Replies 3 (3)
Shopify Partner
3 0 1

I have this scope "write_gift_cards"

New Member
4 0 0

hello I have the same problem.  Did you find the solution ? 

14 2 6
read_gift_cards, write_gift_cardsView or manage gift cards (Available to Plus merchants only)

Access tokens for custom apps in the Shopify admin

The pessimist sees only the tunnel; the optimist sees the light at the end of the tunnel; the realist sees the tunnel and the light - and the next tunnel.