Title: Message Validation Failed
Last modified: July 2, 2020

---

# Message Validation Failed

 *  [cybsys](https://wordpress.org/support/users/cybsys/)
 * (@cybsys)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/)
 * I am getting this error when I try to create a label.
 *     ```
       Failed to create label: Message validation failed.
       Error Details: Input validation failed: Access Token [/labelRequest/hdr/accessToken]. Value cannot be null.
       Error message detail is not exist!
       ```
   
 * Log:
 *     ```
           [body] => {
         "labelResponse" : {
           "hdr" : {
             "messageType" : "LABEL",
             "messageDateTime" : "2020-07-02T11:51:05+08:00",
             "messageVersion" : "1.4",
             "messageLanguage" : "en"
           },
           "bd" : {
             "responseStatus" : {
               "code" : "202",
               "message" : "Message validation failed.",
               "messageDetails" : [ {
                 "messageDetail" : "Input validation failed: Access Token [/labelRequest/hdr/accessToken]. Value cannot be null."
               } ]
             }
           }
         }
       }
       ```
   
 * Any suggestions?
    -  This topic was modified 5 years, 11 months ago by [cybsys](https://wordpress.org/support/users/cybsys/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Progressus](https://wordpress.org/support/users/shadim/)
 * (@shadim)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13061735)
 * Which country is your webshop based in?
 *  Thread Starter [cybsys](https://wordpress.org/support/users/cybsys/)
 * (@cybsys)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13061758)
 * Australia.
 *  Thread Starter [cybsys](https://wordpress.org/support/users/cybsys/)
 * (@cybsys)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13065321)
 * This has **really** pissed me off. I’ve lost a lot of customers because your 
   plugin doesn’t work and no one here helps. I spent 12 hours straight updating
   to the latest WordPress and WooCommerce (had to migrate databases and update 
   to PHP 7.4.7 which was a nightmare) because you broke the original plugin support.
 * The FedEx plugin works perfect. Why can’t you fix yours yet alone actually ask
   proper debugging questions and not something stupid like “What country are you
   from”.
 * You have the full error message. You are the API programmer so you should know
   exactly what that error is caused by and what it’s from.
 *  Plugin Author [Progressus](https://wordpress.org/support/users/shadim/)
 * (@shadim)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13077262)
 * The new version has a new DHL eCommerce integration, the old one has been retired.
   Can you confirm with your DHL representative that all of your credentials are
   correct in the settings?
 *  Thread Starter [cybsys](https://wordpress.org/support/users/cybsys/)
 * (@cybsys)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13077551)
 * Okay, I see. So there is the V1 API (which the old plugin versions use) and now
   you are using V2 of the API. I guess I cannot use my old credentials from V1 
   on V2.
 * Based on your new information and also looking at the logs again I can see that
   the URL it is requesting is returning back with a credentials failure response.
 * Anyway, I have since contacted my account manager and they said that WooCommerce
   doesn’t support the new version of the DHL plugin, so I’m not sure why they have
   told me that it’s not supported and I can’t get new (V2) API credentials.
 * I will try and contact my account manager again tomorrow and force them to generate
   me new credentials (even if they think they won’t work). Such a pain.
 * I appreciate the help Shadi.
 *  Plugin Author [Progressus](https://wordpress.org/support/users/shadim/)
 * (@shadim)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13078148)
 * If you don’t get anywhere with them I will try to get you a contact in AU on 
   my end.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Message Validation Failed’ is closed to new replies.

 * ![](https://ps.w.org/dhl-for-woocommerce/assets/icon.svg?rev=1777040)
 * [DHL Shipping Germany for WooCommerce](https://wordpress.org/plugins/dhl-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/dhl-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/dhl-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dhl-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dhl-for-woocommerce/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Progressus](https://wordpress.org/support/users/shadim/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/message-validation-failed/#post-13078148)
 * Status: not resolved