Giter VIP home page Giter VIP logo

supaglue's People

Contributors

0x4248 avatar albertyfwu avatar annaburlyaeva avatar asdfryan avatar crossk3 avatar davidsgk avatar dependabot[bot] avatar george-xing avatar lucasmarshall avatar tomkit avatar tonyxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

supaglue's Issues

[SUP1-21] hubspot token refresh

supaglue-wip-sync-worker-1  |     error: {
supaglue-wip-sync-worker-1  |       "code": 401,
supaglue-wip-sync-worker-1  |       "body": {
supaglue-wip-sync-worker-1  |         "status": "error",
supaglue-wip-sync-worker-1  |         "message": "The OAuth token used to make this call expired 9 minute(s) ago.",
supaglue-wip-sync-worker-1  |         "correlationId": "c4736101-d43e-49bc-a348-d3c754a8a13e",
supaglue-wip-sync-worker-1  |         "category": "EXPIRED_AUTHENTICATION",
supaglue-wip-sync-worker-1  |         "context": {
supaglue-wip-sync-worker-1  |           "expire time": [
supaglue-wip-sync-worker-1  |             "2023-02-27T22:10:17.518Z"
supaglue-wip-sync-worker-1  |           ]
supaglue-wip-sync-worker-1  |         }
supaglue-wip-sync-worker-1  |       },
supaglue-wip-sync-worker-1  |       "headers": {
supaglue-wip-sync-worker-1  |         "access-control-allow-credentials": "false",
supaglue-wip-sync-worker-1  |         "alt-svc": "h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400",
supaglue-wip-sync-worker-1  |         "cf-cache-status": "DYNAMIC",
supaglue-wip-sync-worker-1  |         "cf-ray": "7a044e875c87981e-SJC",
supaglue-wip-sync-worker-1  |         "connection": "close",
supaglue-wip-sync-worker-1  |         "content-length": "240",
supaglue-wip-sync-worker-1  |         "content-type": "application/json;charset=utf-8",
supaglue-wip-sync-worker-1  |         "date": "Mon, 27 Feb 2023 22:20:15 GMT",
supaglue-wip-sync-worker-1  |         "nel": "{\"success_fraction\":0.01,\"report_to\":\"cf-nel\",\"max_age\":604800}",
supaglue-wip-sync-worker-1  |         "report-to": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=W44aRrhvNCbCBECSh5em2fUsTKSslOLmitk6Kg9eHxOU8Af5%2FGkNfQMu3fGzdAJksf%2BS9TdWzUxHJFEDpgxh%2FsY9JFLOK%2FqUKPjQcwJZ%2FXwI%2F8UnOSst5XHHVDoMvIaG\"}],\"group\":\"cf-nel\",\"max_age\":604800}",
supaglue-wip-sync-worker-1  |         "server": "cloudflare",
supaglue-wip-sync-worker-1  |         "strict-transport-security": "max-age=31536000; includeSubDomains; preload",
supaglue-wip-sync-worker-1  |         "vary": "origin, Accept-Encoding",
supaglue-wip-sync-worker-1  |         "x-hubspot-auth-failure": "401 Unauthorized",
supaglue-wip-sync-worker-1  |         "x-hubspot-correlation-id": "c4736101-d43e-49bc-a348-d3c754a8a13e",
supaglue-wip-sync-worker-1  |         "x-trace": "2B26033CDE1B3B33A4CD144E2361FE2C9FA6D4A263000000000000000000"
supaglue-wip-sync-worker-1  |       }
supaglue-wip-sync-worker-1  |     }

From SyncLinear.com | SUP1-21

[SUP1-153] Malformed search query 502 response

{
    "filters": {
        "asdf": {
            "type": "equals",
            "value": "supergrain.com"
        }
    }
}
<html>

<head>
	<meta http-equiv="content-type" content="text/html;charset=utf-8">
	<title>502 Server Error</title>
</head>

<body text=#000000 bgcolor=#ffffff>
	<h1>Error: Server Error</h1>
	<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.
	</h2>
	<h2></h2>
</body>

</html>

From SyncLinear.com | SUP1-153

[SUP1-191] Document field mappings/values between Supaglue common model and CRMs schemas (copy)

E.g. closedwon stage in HubSpot should be an enum not string cc @albertyfwu

Otherwise will run into validation error on HubSpot side.

Is the closedwon comment a separate task? It sounds like we want to:

Document field mappings/values.

Change our Opportunity common model's status field (which maps to hubspot stage) to be an enum not string.

If that's the case:

For documenting, why can't we just link to the mapping file for now? Any person who really cares while using this product is an engineer. Not all mappings are straightforward where field foo maps to field bar. Some of them are collected into lists, deduped, etc. The code is not that hard to read. For example: https://github.com/supaglue-labs/supaglue/blob/main/packages/core/remotes/crm/hubspot/mappers.ts#L150

We can't make it an enum because people can have their own custom stages (like in Salesforce). We should either keep it a string or do what merge.dev does and have a separate common model to keep track of the stages (which can be custom).

From SyncLinear.com | SUP1-191

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.