Discussions

Ask a Question

Read inbox via API

Hi there, We want to read serviceM8 inbox via API. Can you please let me know the end point to read inbox via API. Also is there any webhook setup that will trigger when any email came in serviceM8 inbox? Thanks

CORS blocking me

Please Help!!! I cannot do anything via api anymore. It all worked up until 4 or 5 days ago, then started sporadic failures until now it is not working at all When I try to do anything via API, when I set credentials to true, I get "Credential is not supported if the CORS header ‘Access-Control-Allow-Origin’ is ‘*’" and then when I set it to false I get this "Did not find method in CORS header ‘Access-Control-Allow-Methods’" I rely on this to do things that servicem8 cannot do, such as extra Asset Service Reports and even correcting mistakes such as simply setting form active to 0 right up to adjusting things incorrectly filled in on a form.

CORS Disabled!!! Please Fix!!!!

Hello, I have multiple integrations that are currently broken due to the proper CORS headers not being present in any response. I am guessing this is not on purpose, and another related question has been asked; I am just trying to get more visibility. This is severely hampering business operations. Check HTTP configuration maybe? Thanks, Jared Spencer

Add on simple function error - 'Error Packaging Function. Please try again or contact support for assistance.'

I am receiving the error 'Error Packaging Function. Please try again or contact support for assistance.' when I try to save a simple function within a custom add on. This problem has only recently occurred as I have been able to save functions in the past. I have tried to save previously working add ons. I have also tried to save functions found in the example add ons (https://github.com/servicem8/addon-sdk-samples). I have also tried clearing my browser cache, cookies, files/images as well as using an incognito window. With the error showing for each.

XMLHttpRequest has been blocked

Good Day, I have used your API's a couple of times before, but today it decided to act up. The error states: Access to XMLHttpRequest at 'https://api.servicem8.com/api_1.0/note.json' from origin 'https://localhost' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. I did not have to do this previously? Kind Regards

Need to Create and Download CSV file for Clients data using custom Add-on

I want to create a custom custom on each clients . when I click on that button I can just fetch whole data for that client in CSV format. According to my knowledge it will be done through Custom Add-on. Please help me by letting me know is this possible.

Format of Exported Services File

Would ServiceM8 please publish the format of the exported services file so we can edit an upload to easily create new services, without having to rely on humans not typing in errors? My client wants to make a list of over 100 services available, based on different regions.

Error Packaging Function

I write a simple function that will render a simple view but every time I save the function it throws an error saying "Error Packaging Function. Please try again or contact support for assistance." and I'm pretty sure that I created a working manifest. Any idea to make this function works? P.S.: Please look at my simple function below ``` 'use strict'; const handler = (event, context, callback) => { let strHTMLResponse = ` <html> <head> </head> <body> <h1> Hi </h1> </body> </html> `; callback(null, { eventResponse: strHTMLResponse }); }; exports.handler = handler; ```

Stripe recurring payment

Hi I want to modify the Stripe Payments addon by ServiceM8 to allow auto recurring billing/payment feature How can i achieve this?

Extracting Data from ServiceM8

I would like to get a report which shows the quoted sales / labour hours / total materials on a job and then the actual invoice / labour hours / materials used on the job.