2017-01-06 8 views
3

私はMailChimpリストに新しいメンバーを追加しようとしています。しかし、私は次のエラーを取得しておくと非常に理由を理解することはできません。MailChimp API 3.0無効なリソースエラー

type: http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/ 
title: Invalid Resource 
status: 400 
detail: The resource submitted could not be validated. For field-specific details, see the 'errors' array. 
instance: 
errors: 
0: 
field: 
message: Schema describes object, NULL found instead 

ドキュメントからexampledで説明するように、私は体に正確なオブジェクトを送信していますので、これは非常に奇妙です:

{"email_address":"[email protected]", "status":"subscribed"} 

MailChimp Playgroundと同様にPostmanでもこの呼び出しを試みました。私はここでJSONの何かを省略していますか?

+1

同じ正確なエラーメッセージがあります。私は彼らと開いたサポートチケットを持っています。うまくいけば、私はすぐに解決策を掲載することができます。 –

+0

私は同じ問題を抱えています。 – Sanderfish

答えて

1

だから、私はよく詰まっていたので、あなたは "merge_fields"を持つ必要があることが判明しました。空のオブジェクトにします。

{ 
    "email_address": "[email protected]", 
    "status": "subscribed", 
    "merge_fields": { 

    } 
} 
関連する問題