收藏
回答

小游戏回传报了900351002

文档地址:
https://ad.weixin.qq.com/main.html#/docs/233

curl -k 'https://api.weixin.qq.com/marketing/user_actions/add?version=v1.0&access_token=<ACCESS_TOKEN>"
-
d  '{
           	"user_action_set_id": "<USER_ACTION_SET_ID>",
		"actions":[
                           	{
                           		"url":"<URL>",
                           		"action_time":1513077790,
                           		"action_type":"PURCHASE",
                           		"user_id":{
                                          	  "wechat_app_id":"<WECHAT_APP_ID>",
                                          	 "wechat_openid":"<WECHAT_OPEN_ID>"
                                 	},
                           		"action_param":{
                                          	"claim_type":0,
					"source":"Web",
					"value": <purchase_value>
                           		}
                           	}
                        	]
  	}'
-H "Content-Type:application/json"
报了这个错误,请问是什么情况

{"errcode":900351002,"errmsg":"payloads: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 13 path $.actions"}


最后一次编辑于  2022-09-22
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容