Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there,

    Thanks for reaching out to us about your issue!

    Would you mind sharing with us the response that you get after testing your API credentials?

    Looking forward to your reply.

    Regards

    Thread Starter srj

    (@sranjeet)

    Hi,

    This is what I see along with the screenshots I shared before.

    Response:
                    
    Array
    (
        [code] => 403
        [message] => Forbidden
    )
                
    Response Body:
                    
                
    Entire Response From wp_remote_get():
                    
    Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [server] => nginx
                        [date] => Tue, 17 May 2022 13:12:30 GMT
                        [content-length] => 0
                        [access-control-allow-origin] => *
                    )
    
            )
    
        [body] => 
        [response] => Array
            (
                [code] => 403
                [message] => Forbidden
            )
    
        [cookies] => Array
            (
            )
    
        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => 
                        [raw] => HTTP/1.1 403 Forbidden
    Server: nginx
    Date: Tue, 17 May 2022 13:12:30 GMT
    Content-Length: 0
    Connection: close
    access-control-allow-origin: *
    
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => Array
                                            (
                                                [0] => nginx
                                            )
    
                                        [date] => Array
                                            (
                                                [0] => Tue, 17 May 2022 13:12:30 GMT
                                            )
    
                                        [content-length] => Array
                                            (
                                                [0] => 0
                                            )
    
                                        [access-control-allow-origin] => Array
                                            (
                                                [0] => *
                                            )
    
                                    )
    
                            )
    
                        [status_code] => 403
                        [protocol_version] => 1.1
                        [success] => 
                        [redirects] => 0
                        [url] => https://api.deepl.com/v2/translate
                        [history] => Array
                            (
                            )
    
                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                    )
    
                            )
    
                    )
    
                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )
    
    )
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Deepl Not working’ is closed to new replies.