<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content

400 Error when Using Google Workspace Cards to Assign or Un-assign Licenses in a Workflow

Workflows

Overview

The Google Workspace Assign License to User and Unassign License from User cards require a list of licenses as input. Each license consists of an object with key/value pairs for "skuid" and "productid". This article explains the cause for the following error when attempting to save these values:

 

Error "400: skuId is required field" or "400: productId is required field"

Applies To

  • Google Workspace Assign License to User card
  • Google Workspace Unassign License from User card

Cause

If the "productid" and "skuid" key names are not all lowercase, the 400 error returned from Google will occur, indicating the "I" in Id should be uppercase (which is incorrect), like productId and skuId, even though the entire key name must be lowercase.

Solution

When creating the list of licenses, make sure the "productid" and "skuid" key names are all lowercase:

Workflow

Loading
Okta Support - 400 Error when Using Google Workspace Cards to Assign or Un-assign Licenses in a Workflow