Community Forum

Please read the intro before joining/posting. Thank you.

If you have questions about our software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. We'll do our best to answer promptly, but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with us and we'll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. We don't employ translators and we'll be unable to understand your message properly and will probably delete it.
SOFTWARE: Each software has it's own forum. Software here is NOT supported. Posts about this software will be deleted. Supported software questions ONLY please.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable (to deter spammers) and must be copied / pasted into your browser address bar.

            

You are not logged in.

Invalid API keyPosts in the Maian Support forum by gregmeyers
gregmeyers
18-11-2018 03:12:19

While not an expert with REST, I've done enough of them to know when something seems broken. No matter what I do I continually get "Invalid API key". I have set and reset the key several times in the admin panel (and saved it). Even when Copying the sample post, it returns the error. Below is my latest attempt and log.
----------------------
[17/November/2018 @ 19:49:47] Action/Info: Incoming data received:

{
                "api":"YS9TJ2C78I42N4IHMMPQO3I1HB3NTQ",
                "op": "ticket",
                "tickets": {
                    "ticket": {
                        "name": "Joe Bloggs",
                        "email": "email@example.com",
                        "dept": "3",
                        "subject": "Hello, can you help please?",
                        "comments": "Lorem ipsum dolor sit amet consectetuer tristique leo lacinia orci lorem. Id tempor vitae et congue Nulla vitae gravida ac ipsum odio. Laoreet a euismod et Nunc laoreet Lorem et pellentesque cursus augue. Nec ipsum leo facilisis Morbi wisi Cras dictumst quis diam Cum. Porta Nam Nunc fames nunc sed.",
                        "priority": "1",
                        "customfields": {
                            "f1": "Custom field ID 1 data",
                            "f2": "Custom field ID 2 data"
                        },
                        "attachments": {
                        "file": [
                            {
                                "ext": "jpg",
                                "data": "/9j/4SjeRXhpZgAA...}
                        ]
                    }

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[17/November/2018 @ 19:49:47] Action/Info: Handler determined from incoming data: JSON

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[17/November/2018 @ 19:49:47] Action/Info: [JSON] Reading data into readable array supported by all formats

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[17/November/2018 @ 19:49:47] Action/Info: [JSON] Invalid API key

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

[17/November/2018 @ 19:49:47] Action/Info: [JSON] Nothing updated, check data or view log if enabled.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Any enlightenment will be appreciated.

dvinesky
05-11-2020 00:33:34

I am getting the same error and the API Key matches from Admin CP to JSON.

100% Free SoftwareSoftware Versions, Development, Docs & UpgradesHostingNewsletter
Made with in the U.K & Hong Kong

Free PHP Scripts / Responsive PHP Scripts / Lightweight PHP Scripts / White Label PHP Scripts