--- http_interactions: - request: method: post uri: https://auth0-sdk-tests.auth0.com/api/v2/emails/provider body: encoding: UTF-8 string: '{"name":"mandrill","enabled":true,"credentials":{"api_key":"api_key"},"settings":{"first_setting":"first_setting_set","second_setting":"second_setting_set"}}' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin19.6.0 x86_64) ruby/2.7.0p0 Content-Type: - application/json Auth0-Client: - eyJuYW1lIjoicnVieS1hdXRoMCIsInZlcnNpb24iOiI1LjUuMCIsImVudiI6eyJydWJ5IjoiMi43LjAifX0= Authorization: - Bearer API_TOKEN Content-Length: - '157' Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - auth0-sdk-tests.auth0.com response: status: code: 400 message: Bad Request headers: Date: - Fri, 03 Sep 2021 20:16:24 GMT Content-Type: - application/json; charset=utf-8 Transfer-Encoding: - chunked Connection: - keep-alive Cf-Ray: - 6891a7d75a655301-LAX Cache-Control: - no-cache Strict-Transport-Security: - max-age=31536000 Vary: - origin,accept-encoding Cf-Cache-Status: - DYNAMIC Expect-Ct: - max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Ot-Baggage-Auth0-Request-Id: - 6891a7d75a655301 Ot-Tracer-Sampled: - 'true' Ot-Tracer-Spanid: - 22ac08ac3f9ef22d Ot-Tracer-Traceid: - 7f33967308eb590b X-Content-Type-Options: - nosniff Server: - cloudflare Alt-Svc: - h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400 body: encoding: ASCII-8BIT string: '{"statusCode":400,"error":"Bad Request","message":"Payload validation error: ''Additional properties not allowed: second_setting,first_setting'' on property settings (Specific provider setting).","errorCode":"invalid_body"}' recorded_at: Fri, 03 Sep 2021 20:16:24 GMT recorded_with: VCR 6.0.0