stdClass Object ( [access_token] => 00DA0000000BtjC!AQEAQGYac4.DU1V4m6gM.rAvsN0xfhjeC8Olm2DYUhEUrgC2KFcenXlVV9w2lB4BPHYcNx6s5rJ4X71nzxR7YQpWkh4wszfZ [instance_url] => https://826.my.salesforce.com [id] => https://login.salesforce.com/id/00DA0000000BtjCMAS/0055c000008o5jlAAA [token_type] => Bearer [issued_at] => 1770946483811 [signature] => IEzp4OBzNWruRxskPzmatn8ynwXQhnngfSOAuI5XlC8= )
Array
(
    [nickname] => anand Pandey
    [first_name] => anand Pandey
    [last_name] => Pandey
    [description] => 
    [rich_editing] => true
    [syntax_highlighting] => true
    [comment_shortcuts] => false
    [admin_color] => fresh
    [use_ssl] => 0
    [show_admin_bar_front] => true
    [locale] => 
    [wp_41294geqqe_capabilities] => a:1:{s:13:"wpseo_manager";b:1;}
    [wp_41294geqqe_user_level] => 7
    [wp_2fa_enforcement_state] => optional
    [wp_2fa_2fa_status] => no_determined_yet
    [_yoast_wpseo_profile_updated] => 1758013148
    [address] => Delhi India
    [phone_number] => 9810915259
    [teacher_role] => educator_administrator_program-provider
    [educator_workplace] => library
    [location] => US
    [city] => Delhi
    [state] => AL
    [school_name] => Delhi Public School
    [school_location] => NA
    [class_size] => 0-15
    [percentage_free_lunch] => 0-25
    [participate_local_826chapter] => 
    [user_wants_newsletter] => 
    [user_wants_digital_newsletter] => 
    [grades_teach] => 
    [district_name] => 
    [organization_affiliation_name] => 
    [ages_teach] => 
    [default_password_nag] => 
    [login_date] => 1758013324
    [wfls-last-login] => 1758013324
    [wpseo_metadesc] => 
    [wpseo_title] => 
    [wpseo_content_analysis_disable] => 
    [wpseo_keyword_analysis_disable] => 
    [profile_pic] => 
    [_profile_pic] => field_62fc95955d41b
    [author_bio_details] => 
    [_author_bio_details] => field_62fca69e3a1bb
    [listing_order] => 
    [_listing_order] => field_62d6433d76311
    [_phone_number] => field_62df6cf2859b2
    [_address] => field_62df6d0a859b3
    [_teacher_role] => field_62de53d7deb9e
    [_educator_workplace] => field_62de5450deb9f
    [_location] => field_62de5536deba4
    [_city] => field_62de550edeba3
    [_state] => field_62de55d8deba5
    [_school_name] => field_62de54b6deba0
    [_school_location] => field_62de563bdeba6
    [_grades_teach] => field_62de56a6deba7
    [_class_size] => field_62de577adeba9
    [_percentage_free_lunch] => field_62de581adebaa
    [_participate_local_826chapter] => field_62de59097a0a0
    [_user_wants_newsletter] => field_62de59697a0a1
    [_user_wants_digital_newsletter] => field_62de599b7a0a2
    [_district_name] => field_62de54cddeba1
    [_organization_affiliation_name] => field_62de54e0deba2
    [_ages_teach] => field_62de5753deba8
    [did_anyone_refer_you_to_sign_up_for_826_digital] => 
    [_did_anyone_refer_you_to_sign_up_for_826_digital] => field_681c92bc6f4d4
    [wp_2fa_global_settings_hash] => 7e1a3aa379ea711b619d555b6230d0a1
)

Test the User Role Here: educator_administrator_program-provider

Response:
Array
(
    [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
        (
            [data:protected] => Array
                (
                    [date] => Fri, 13 Feb 2026 01:34:45 GMT
                    [content-type] => application/json;charset=UTF-8
                    [strict-transport-security] => max-age=63072000; includeSubDomains
                    [sforce-limit-info] => api-usage=5270/135000
                    [cache-control] => no-cache,must-revalidate,max-age=0,no-store,private
                    [vary] => Accept-Encoding
                    [x-content-type-options] => nosniff
                    [x-robots-tag] => none
                    [set-cookie] => Array
                        (
                            [0] => CookieConsentPolicy=0:1; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure
                            [1] => LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure
                            [2] => BrowserId=LJParQh8EfGGML1hDA5oRA; domain=.salesforce.com; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure; SameSite=None
                        )

                    [server] => sfdcedge
                    [x-sfdc-request-id] => 9453974e52064eba69d008f074a08f0e
                    [x-request-id] => 9453974e52064eba69d008f074a08f0e
                )

        )

    [body] => [{"message":"Failed to create Account for Contact anand Pandey Pandey. Hi! You may be creating a duplicate record. It's recommended to do a search first before creating records and if an account exists, use that record instead. Thanks!","errorCode":"FIELD_CUSTOM_VALIDATION_EXCEPTION","fields":[]}]
    [response] => Array
        (
            [code] => 400
            [message] => Bad Request
        )

    [cookies] => Array
        (
            [0] => WP_Http_Cookie Object
                (
                    [name] => CookieConsentPolicy
                    [value] => 0:1
                    [expires] => 1802482484
                    [path] => /
                    [domain] => 826.my.salesforce.com
                    [port] => 
                    [host_only] => 1
                )

            [1] => WP_Http_Cookie Object
                (
                    [name] => LSKey-c$CookieConsentPolicy
                    [value] => 0:1
                    [expires] => 1802482484
                    [path] => /
                    [domain] => 826.my.salesforce.com
                    [port] => 
                    [host_only] => 1
                )

            [2] => WP_Http_Cookie Object
                (
                    [name] => BrowserId
                    [value] => LJParQh8EfGGML1hDA5oRA
                    [expires] => 1802482484
                    [path] => /
                    [domain] => salesforce.com
                    [port] => 
                    [host_only] => 
                )

        )

    [filename] => 
    [http_response] => WP_HTTP_Requests_Response Object
        (
            [response:protected] => WpOrg\Requests\Response Object
                (
                    [body] => [{"message":"Failed to create Account for Contact anand Pandey Pandey. Hi! You may be creating a duplicate record. It's recommended to do a search first before creating records and if an account exists, use that record instead. Thanks!","errorCode":"FIELD_CUSTOM_VALIDATION_EXCEPTION","fields":[]}]
                    [raw] => HTTP/1.1 400 Bad Request
Date: Fri, 13 Feb 2026 01:34:45 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Strict-Transport-Security: max-age=63072000; includeSubDomains
Sforce-Limit-Info: api-usage=5270/135000
Cache-Control: no-cache,must-revalidate,max-age=0,no-store,private
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Robots-Tag: none
Set-Cookie: CookieConsentPolicy=0:1; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure
Set-Cookie: LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure
Set-Cookie: BrowserId=LJParQh8EfGGML1hDA5oRA; domain=.salesforce.com; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure; SameSite=None
Server: sfdcedge
X-SFDC-Request-Id: 9453974e52064eba69d008f074a08f0e
X-Request-Id: 9453974e52064eba69d008f074a08f0e

[{"message":"Failed to create Account for Contact anand Pandey Pandey. Hi! You may be creating a duplicate record. It's recommended to do a search first before creating records and if an account exists, use that record instead. Thanks!","errorCode":"FIELD_CUSTOM_VALIDATION_EXCEPTION","fields":[]}]
                    [headers] => WpOrg\Requests\Response\Headers Object
                        (
                            [data:protected] => Array
                                (
                                    [date] => Array
                                        (
                                            [0] => Fri, 13 Feb 2026 01:34:45 GMT
                                        )

                                    [content-type] => Array
                                        (
                                            [0] => application/json;charset=UTF-8
                                        )

                                    [strict-transport-security] => Array
                                        (
                                            [0] => max-age=63072000; includeSubDomains
                                        )

                                    [sforce-limit-info] => Array
                                        (
                                            [0] => api-usage=5270/135000
                                        )

                                    [cache-control] => Array
                                        (
                                            [0] => no-cache,must-revalidate,max-age=0,no-store,private
                                        )

                                    [vary] => Array
                                        (
                                            [0] => Accept-Encoding
                                        )

                                    [x-content-type-options] => Array
                                        (
                                            [0] => nosniff
                                        )

                                    [x-robots-tag] => Array
                                        (
                                            [0] => none
                                        )

                                    [set-cookie] => Array
                                        (
                                            [0] => CookieConsentPolicy=0:1; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure
                                            [1] => LSKey-c$CookieConsentPolicy=0:1; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure
                                            [2] => BrowserId=LJParQh8EfGGML1hDA5oRA; domain=.salesforce.com; path=/; expires=Sat, 13-Feb-2027 01:34:44 GMT; Max-Age=31536000; secure; SameSite=None
                                        )

                                    [server] => Array
                                        (
                                            [0] => sfdcedge
                                        )

                                    [x-sfdc-request-id] => Array
                                        (
                                            [0] => 9453974e52064eba69d008f074a08f0e
                                        )

                                    [x-request-id] => Array
                                        (
                                            [0] => 9453974e52064eba69d008f074a08f0e
                                        )

                                )

                        )

                    [status_code] => 400
                    [protocol_version] => 1.1
                    [success] => 
                    [redirects] => 0
                    [url] => https://826.my.salesforce.com/services/data/v51.0/sobjects/Contact
                    [history] => Array
                        (
                        )

                    [cookies] => WpOrg\Requests\Cookie\Jar Object
                        (
                            [cookies:protected] => Array
                                (
                                    [CookieConsentPolicy] => WpOrg\Requests\Cookie Object
                                        (
                                            [name] => CookieConsentPolicy
                                            [value] => 0:1
                                            [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
                                                (
                                                    [data:protected] => Array
                                                        (
                                                            [path] => /
                                                            [expires] => 1802482484
                                                            [max-age] => 1802482485
                                                            [secure] => 1
                                                            [domain] => 826.my.salesforce.com
                                                        )

                                                )

                                            [flags] => Array
                                                (
                                                    [creation] => 1770946485
                                                    [last-access] => 1770946485
                                                    [persistent] => 
                                                    [host-only] => 1
                                                )

                                            [reference_time] => 1770946485
                                        )

                                    [LSKey-c$CookieConsentPolicy] => WpOrg\Requests\Cookie Object
                                        (
                                            [name] => LSKey-c$CookieConsentPolicy
                                            [value] => 0:1
                                            [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
                                                (
                                                    [data:protected] => Array
                                                        (
                                                            [path] => /
                                                            [expires] => 1802482484
                                                            [max-age] => 1802482485
                                                            [secure] => 1
                                                            [domain] => 826.my.salesforce.com
                                                        )

                                                )

                                            [flags] => Array
                                                (
                                                    [creation] => 1770946485
                                                    [last-access] => 1770946485
                                                    [persistent] => 
                                                    [host-only] => 1
                                                )

                                            [reference_time] => 1770946485
                                        )

                                    [BrowserId] => WpOrg\Requests\Cookie Object
                                        (
                                            [name] => BrowserId
                                            [value] => LJParQh8EfGGML1hDA5oRA
                                            [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object
                                                (
                                                    [data:protected] => Array
                                                        (
                                                            [domain] => salesforce.com
                                                            [path] => /
                                                            [expires] => 1802482484
                                                            [max-age] => 1802482485
                                                            [secure] => 1
                                                            [samesite] => None
                                                        )

                                                )

                                            [flags] => Array
                                                (
                                                    [creation] => 1770946485
                                                    [last-access] => 1770946485
                                                    [persistent] => 
                                                    [host-only] => 
                                                )

                                            [reference_time] => 1770946485
                                        )

                                )

                        )

                )

            [filename:protected] => 
            [data] => 
            [headers] => 
            [status] => 
        )

)