Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Invalid parameter #11

Open
EmadEzzat opened this issue Nov 7, 2024 · 0 comments
Open

Error: Invalid parameter #11

EmadEzzat opened this issue Nov 7, 2024 · 0 comments

Comments

@EmadEzzat
Copy link

EmadEzzat commented Nov 7, 2024

Started to receive an error when getting email messages data, the error started to happen on the 1st week of October

Error: Invalid parameter. Please check it again.
OnedriveApp.getEmailList	@ code.gs:228

Below is the used code which was working perfectly fine

const obj = {
    numberOfEmails:50,
    select: ["createdDateTime", "sender", "subject", "bodyPreview"],
    orderby: "createdDateTime",
    order: "desc",
    folderId:"Inbox"
};
  const prop = PropertiesService.getScriptProperties();
  const odapp = OnedriveApp.init(prop);
  const res = odapp.getEmailList(obj);

Any quick help on this would be appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant