Creation of users via api does not work

Dunina_Andrey
New Member
1 0 0

When we send a request to create a user via postman, we get the following response

 

 

<html>

<body>
	<noscript>
		<a
			href="https://accounts.shopify.com/oauth/authorize?client_id=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&amp;destination_uuid=1f328f60-3168-4182-8512-5bf9fd558758&amp;nonce=407ad8ddc1ef1de4295cfcd1d6568bc6&amp;prompt=merge&amp;redirect_uri=https%3A%2F%2Fdev-distil.myshopify.com%2Fadmin%2Fauth%2Fidentity%2Fcallback&amp;response_type=code&amp;scope=email%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly%20openid%20profile%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fbanking.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshopify-chat.admin.graphql%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fflow.workflows.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization-identity.manage&amp;state=5c8b4b55e3af9af39222f3897b855597&amp;ui_locales=en&amp;ux=shop">Continue</a>
	</noscript>

	<script type="text/javascript" defer>
		window.location = "https:\/\/accounts.shopify.com\/oauth\/authorize?client_id=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c\u0026destination_uuid=1f328f60-3168-4182-8512-5bf9fd558758\u0026nonce=407ad8ddc1ef1de4295cfcd1d6568bc6\u0026prompt=merge\u0026redirect_uri=https%3A%2F%2Fdev-distil.myshopify.com%2Fadmin%2Fauth%2Fidentity%2Fcallback\u0026response_type=code\u0026scope=email%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fdestinations.readonly%20openid%20profile%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fbanking.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshopify-chat.admin.graphql%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Fflow.workflows.manage%20https%3A%2F%2Fapi.shopify.com%2Fauth%2Forganization-identity.manage\u0026state=5c8b4b55e3af9af39222f3897b855597\u0026ui_locales=en\u0026ux=shop";
	</script>
</body>

</html>

 

 

 Example request
https://dev-distil.myshopify.com/admin/api/2021-10/customers.json

Reply 1 (1)
csam
Shopify Staff
156 24 25

Hi @Dunina_Andrey 

You'll want to clear all cookies from Postman, and retry your request. Once the cookies are cleared, it should behave normally.

Regards,

CS | API Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog